package com.iraeta.entity.main;

import java.io.Serializable;
import java.util.Date;

/**
 * tbwork
 * @author 
 */
public class Tbwork implements Serializable {
    /**
     * 同步任务Id
     */
    private Integer id;

    /**
     * 同步任务状态
     */
    private Integer statusid;

    /**
     * 同步任务名称
     */
    private String title;

    /**
     * 同步任务名称
     */
    private String pinlv;

    /**
     * 最后同步时间
     */
    private Date updatetime;

    private static final long serialVersionUID = 1L;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public Date getUpdatetime() {
        return updatetime;
    }

    public void setUpdatetime(Date updatetime) {
        this.updatetime = updatetime;
    }

    public Integer getStatusid() {
        return statusid;
    }

    public void setStatusid(Integer statusid) {
        this.statusid = statusid;
    }

    public String getPinlv() {
        return pinlv;
    }

    public void setPinlv(String pinlv) {
        this.pinlv = pinlv;
    }

    @Override
    public boolean equals(Object that) {
        if (this == that) {
            return true;
        }
        if (that == null) {
            return false;
        }
        if (getClass() != that.getClass()) {
            return false;
        }
        Tbwork other = (Tbwork) that;
        return (this.getId() == null ? other.getId() == null : this.getId().equals(other.getId()))
            && (this.getTitle() == null ? other.getTitle() == null : this.getTitle().equals(other.getTitle()))
            && (this.getUpdatetime() == null ? other.getUpdatetime() == null : this.getUpdatetime().equals(other.getUpdatetime()));
    }

    @Override
    public int hashCode() {
        final int prime = 31;
        int result = 1;
        result = prime * result + ((getId() == null) ? 0 : getId().hashCode());
        result = prime * result + ((getTitle() == null) ? 0 : getTitle().hashCode());
        result = prime * result + ((getUpdatetime() == null) ? 0 : getUpdatetime().hashCode());
        return result;
    }

    @Override
    public String toString() {
        return "Tbwork{" +
                "id=" + id +
                ", statusid=" + statusid +
                ", title='" + title + '\'' +
                ", pinlv='" + pinlv + '\'' +
                ", updatetime=" + updatetime +
                '}';
    }
}